package com.lx.pc.domain.entity.transactionlog;

import java.io.Serializable;

import org.springframework.data.mybatis.annotations.Column;
import org.springframework.data.mybatis.annotations.Entity;

import com.lx.pc.domain.entity.AbstractBaseEntity;



/**
 * 交易明细日志
 *
 * @author houzhong
 * @date 2018年11月14日 上午11:32:37
 */
@Entity(table = "t_transaction_log")
public class TransactionLogEntity extends AbstractBaseEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * 交易id
	 */
	@Column(name = "tr_id")
	private String trId;
	
	/**
	 * 发起人用户id
	 */
	@Column(name = "user_id")
	private String userId;
	
	/**
	 * 接收人用户id
	 */
	@Column(name = "recipient_user_id")
	private String recipientUserId;
	
	/**
	 * 类型 1 支出 2 收入
	 */
	@Column(name = "tran_type")
	private Integer tranType;
	
	/**
	 * 支付通道 1 微信 2 支付宝 3 线下 4 余额 
	 */
	@Column(name = "channel_payflag")
	private Integer channelPayflag;
	
	/**
	 * 价格
	 */
	@Column(name = "price")
	private Float price;
	
	
	public TransactionLogEntity() {
		super();
	}

	public void setTrId(String trId) {
		this.trId = trId;
	}
	
	public String getTrId() {
		return trId;
	}
	
	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	public String getUserId() {
		return userId;
	}
	
	public void setRecipientUserId(String recipientUserId) {
		this.recipientUserId = recipientUserId;
	}
	
	public String getRecipientUserId() {
		return recipientUserId;
	}
	
	public void setTranType(Integer tranType) {
		this.tranType = tranType;
	}
	
	public Integer getTranType() {
		return tranType;
	}
	
	public void setChannelPayflag(Integer channelPayflag) {
		this.channelPayflag = channelPayflag;
	}
	
	public Integer getChannelPayflag() {
		return channelPayflag;
	}
	
	public void setPrice(Float price) {
		this.price = price;
	}
	
	public Float getPrice() {
		return price;
	}

}
